﻿<%@ Page Language="C#" MasterPageFile="~/YUIAspNet.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="YUIAspNetDemo.LayoutManager.Default" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>YUIAsp.Net Controls : LiveDemo : Layout manager : Usage info</title>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>Layout manager basic</h1>

    <yui:LayoutManager ID="lm" runat="server" Height="600" Width="800">
       <LayoutUnits>
            <yui:LayoutUnit runat="server" ID="unit1" Position="Top" Height="200" Scroll="true" Width="600">
                <HeaderTemplate>This is my header</HeaderTemplate>
                <ContentTemplate>
                    this is <b>MY</b> content.
                    <br /> I can write here whatever I want.
                    <br />I can even put YUIAsp.Net controls in here
                    <br /> <yui:Button ID="btn" runat="server" Text="my YUI Btn"></yui:Button>
                </ContentTemplate>
                <FooterTemplate>This is the footer</FooterTemplate>
            </yui:LayoutUnit>
            <yui:LayoutUnit Position="Center" ID="test" runat="server" Height="400" Width="600">
                <ContentTemplate>Other content</ContentTemplate>
                <FooterTemplate>Footer test</FooterTemplate>
            </yui:LayoutUnit>
        </LayoutUnits>
    </yui:LayoutManager>
</asp:Content>
